package com.studor.dto;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

@Data
public class RuleCreateRequest {
    @NotBlank(message = "规则名称不能为空")
    private String ruleName;
    
    @NotBlank(message = "规则类型不能为空")
    private String ruleType;
    
    @NotBlank(message = "规则内容不能为空")
    private String ruleContent;
    
    @NotBlank(message = "适用范围不能为空")
    private String scope;
    
    @NotNull(message = "优先级不能为空")
    private Integer priority;
    
    private String description;
} 